/*
 * Empty.java
 *
 * Created on 2007. m�rcius 25., 15:27
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package lemmings;

/**
 *
 * @author attila
 * �res mez� tulajdons�ga
 */
public class Empty extends FieldProp {
    
    /** 
     *Konstruktor
     * @param parent
     * A mez�, amihez a tuladjons�g tartozik
     */
    public Empty(Field parent) {
        super(parent);
        System.out.println("(Empty)");
    }
    /**
     * @return
     * TRUE ha a mez� �res, FALSE egy�bk�nt
     */
    public boolean isEmpty() {
        return true;
    }    
    /**
     * @return 
     * TRUE, ha egy lemming r�l�phet a mez�re, FASLE egy�bk�nt
     */
    public boolean wannaGo() {
        System.out.println("  > Empty.wannaGo() -> true");
        return true;
    }
    
    public String toString(){
        return "0";
    }
}
